Piwik\Session\SessionAuth S

Total Complexity 37
Dependencies 9
Dependents 2
Total lines 167
Lines of code 108
Logical lines of code 58
Comment lines 34
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
authenticate()
A
48 11 32
isSessionStartedBeforePasswordChange()
S
64 3 10
isExpiredSession()
S
68 2 8
destroyCurrentSession()
S
73 2 6
initNewBlankSession()
S
73 2 6
makeAuthSuccess()
S
67 2 7
__construct()
S
75 2 4
checkIfSessionFailedToRead()
S
73 2 5
getLogin()
S
73 2 5
setPasswordHash()
S
91 1 2
setPassword()
S
91 1 2
getName()
S
91 1 2
makeAuthFailure()
S
79 1 3
setLogin()
S
91 1 2
getTokenAuthSecret()
S
91 1 2
getTokenAuth()
S
82 1 3
updateSessionExpireTime()
S
68 1 6
setTokenAuth()
S
81 1 3